package com.ljh.mapper;

import com.ljh.pojo.Client;
import com.ljh.pojo.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljh.pojo.MmberGrade;
import com.ljh.vo.MemberVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 刘剑鸿
 * @since 2021-11-23
 */
@Repository
public interface MemberMapper extends BaseMapper<Member> {
    List<Member> selectMember(@Param("memberVo") MemberVo memberVo);
    int insertMember(Member member);
    List<Member> getGrade();
    Member getmemberId(@Param("id")Integer id);
    int ToupdateInte(Member member);
    int ToupdateClient(Client client);
    int ToupdateSave(Member member);
    int ToupdateBalance(Member member);
}
